<template>
  <div>
    <el-form :inline="true">
      <el-form-item label="手机号:" prop="name">
        <el-input v-model="form.name" clearable></el-input>
      </el-form-item>

      <el-form-item label="密码:" prop="password">
        <el-input v-model="form.password"></el-input>
      </el-form-item>
      <el-form-item label="验证码:">
        <el-input style="width: 50%;"></el-input>
      </el-form-item>
      <el-row>
        <el-col>
          <el-button type="primary" @click="onSubmit" style="width: 50%">登录</el-button>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>
<script>
  export default {
    name: 'PhoneLogin',
    data() {

      return {
        form: {
          name: '',
          password: ''
        }
      }
    },
    methods: {
      onSubmit() {

      }
    },

  }

</script>
<style>

</style>
